package creditsProject.dto;

import java.io.Serializable;

public class User implements Serializable {
	private int id;
	private String fio;
	private String dateOfBirth;
	private String address;
	private int phoneNumber;
	private String credits;
	private String passwordHash;
	
	public User() {
		super();
	}

	public User(int id, String fio, String dateOfBirth, String address,
			int phoneNumber, String credits, String passwordHash) {
		super();
		this.id = id;
		this.fio = fio;
		this.dateOfBirth = dateOfBirth;
		this.address = address;
		this.phoneNumber = phoneNumber;
		this.credits = credits;
		this.passwordHash = passwordHash;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getFio() {
		return fio;
	}

	public void setFio(String fio) {
		this.fio = fio;
	}

	public String getDateOfBirth() {
		return dateOfBirth;
	}

	public void setDateOfBirth(String dateOfBirth) {
		this.dateOfBirth = dateOfBirth;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(int phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getCredits() {
		return credits;
	}

	public void setCredits(String credits) {
		this.credits = credits;
	}

	public String getPasswordHash() {
		return passwordHash;
	}

	public void setPasswordHash(String passwordHash) {
		this.passwordHash = passwordHash;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", fio=" + fio + ", dateOfBirth="
				+ dateOfBirth + ", address=" + address + ", phoneNumber="
				+ phoneNumber + ", credits=" + credits + ", passwordHash="
				+ passwordHash + "]";
	}
	
	
	
	
}
